package com.itheima.d1_polymorphism.CaseD1;

/**
 * @ClassName test
 * @Author 16799
 * @Date 2025/7/10 10:56
 * @Version 1.0
 * @Description TODO
 **/
public class test {
    public static void main(String[] args) {
        Peop p1 = new Peop();
        p1.run();

        Peop p2 = new Stud();
        p2.run();

        Peop p3 = new Teac();
        p3.run();

    }
}
